﻿using System;
using System.Collections.Generic;
using System.Text;

namespace System.ComponentModel
{
    /// <summary>
    /// 用于标注成员的排序
    /// </summary>
    [System.AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
    public sealed class SortIndexAttribute : Attribute
    {
        public SortIndexAttribute(int index)
        {
            this.SortIndex = index;
        }

        public int SortIndex { get; set; }
    }
}
